package com.happy016.controller;

import com.happy016.annotation.SelfAnno;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @RequestMapping("")
    @SelfAnno(print = "selfAnno") //打印selfAnno
    public String selfAnno(){
        System.out.println("Controller print:---->Self annotation end!");
        return "Self annotation end!";
    }
}
